home *** CD-ROM | disk | FTP | other *** search
- I've come across a problem which I remember solving OK years and
- years ago but now I just can't seem to remember what I did.
-
- Say for a horizontal scrolling system. Using offset to move along and
- then every 16 or 32 pixels, it copys the screen across to the left,
- draws the side, resets the screen offset and continues.
-
- My problem is that I need the screen swap and screen offset to happen
- at the same time, because otherwise there is a flicker as either the
- screen offset moves across before the screen has been swapped OR the
- screen is swapped before the screen offset is reset.
- I've tried Wait Vbl and Vbl Wait X and Wait Raster in all possible
- positions to try and get the commands to have been executed before
- the next cycle is drawn.
-
- I can only think that as soon as either of these commands are called,
- it must immediately draw the screen.
-
- -Murray
-
-
- \\|// Alastair Murray
- (o o) pmymagm@pmn1.maths.nott.ac.uk
- |~~~~~~oOOo~(_)~oOOo~~~~~|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
- | AMINET |Web-Page (Amiga/Games/AMOS/trek/Music/ |
- | game/role/CHAOS | +more) |
- |game/jump/Banana Islands| http://www.cs.nott.ac.uk/~agm/ |
- | game/shoot/Hanger18 |Current Projects: >Chaos 2 |
- | dev/amos/keystate | >Kill Em All >Hanger 18 II |
- | dev/amos/picpack | >Skool Daze >The Crow |
- | | >Game Creator >Banana Islands |
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-